home *** CD-ROM | disk | FTP | other *** search
-
- LISTFPO.COM
- Emulate dBASE's "LIST FILE" Command in DOS
-
-
- P. L. OLYMPIA
- Darwin Systems, Inc.
- Sysop, Darwin BBS, 301-251-9206
- 12/07/86
-
-
- WHAT IN THE WORLD IS LISTFPO?
- ------------------------------
-
- LISTFPO allows you to display the databases on a given disk or
- subdirectory, the number of records in each database and the date the
- database was last updated. In short, it works like dBASE's "LIST FILE"
- command, except that you don't need dBASE to get those information --
- LISTFPO is normally run while you're in DOS.
-
- LISTFPO does not (yet) display the filesize but it can read both
- dBASE II or III files. dBASE II databases are tagged accordingly.
-
- Who needs this program? People who need to know quickly what
- those DBF files on disk are, which has the most records and what the
- dates of last update are. It is also useful to those who can't tell which
- DBF is from dBASE II.
-
- If you need more complete info about each database (e.g., the
- fields, their type, length, etc) use my other program, DBSTRUPO.
-
- You may specify the source disk\path or wildcard filenames in the
- command line. The output may be redirected to any DOS device including
- your printer or any file. If the file being used for redirection already
- exists, it will be overwritten.
-
- The program is written in C.
-
-
- COMMAND SYNTAX
- --------------
-
- LISTFPO [drive\path\ambiguous-filename] [>dosdev]
-
- You may specify drive, path, any wildcard filenames, all of these
- or none of these. How's that for taking care of everything you want?
-
- You may redirect the output to "dosdev" which is any valid DOS
- device, for example, PRN, or any file you name.
-
-
- EXAMPLES
- --------
-
- 1. Example 1
-
- LISTFPO C:\DB\*.* >A:MYDOC.TXT
- LISTFPO C:\DB\*.DBF >A:MYDOC.TXT
- LISTFPO C:\DB\ >A:MYDOC.TXT
-
- All the above examples will display the name, number of records and
- last update date of all dBASE II/III files on the C:\DB subdirectory and
- capture the output to the file MYDOC.TXT on the A: drive. If A:MYDOC.TXT
- already exists, it will be overwritten. The program will tell you whether
- the file belongs to dBASE II. By default the file is a dBASE III file.
-
- Here is a sample output:
-
- Database # Recds Last Update
- ------------ ------- ----------
- MIPSIODE.DBF 89 9/23/86
- HELP.DBF 0 9/ 5/85 *dB2*
- SAVE1.DBF 84 9/23/86 *dB2*
- TEMP.DBF 7 11/10/86
- MIPSSORT.DBF 143 11/01/86
-
-
-
- 2. Example 2
-
- LISTFPO
-
- will display the relevant data for all DBF files on the
- current directory to the screen only. Obviously, you won't get
- anything (except a diagnostic message) if there are no DBF files.
-
-
-
- 3. Example 3
-
- LISTFPO B: >prn
-
- (This is your quiz. If you've been paying attention, you should know
- what this command does).
-
-
-
- AND NOW A WORD FROM YOUR SPONSOR
- --------------------------------
-
- LISTFPO is copyrighted by me, but you may use it for all NON-COMMERCIAL
- purposes, provided: (oh, oh, here's the hitch)
-
- 1. Both LISTFPO.COM and LISTFPO.DOC (this file) are distributed
- together.
-
- 2. Neither file is altered in any way. If you want to alter files,
- write your own.
-
- 3. You don't charge anything for distributing this program. I am
- giving this to you for free, so you do the same.
-
-
- All monetary contributions for this program are graciously
- declined. If you really like me that much, buy my other programs such
- as MEMOPO (dBASE Memo Field Utility for the Civilized) or send your
- donation to my "Shareware" program FCPO1 (Electronic Filing Cabinet),
- or send something new and useful (public domain only) to my BBS. If
- you can't do any of the above, just be nice to your folks.
-
- Peace.
-